package com.atguigu.day211105.work;

public class Cat extends Pet{
    public Cat() {
    }

    public Cat(String type, String name, double weight) {
        super(type, name, weight);
    }

    @Override
    public void eat() {
        System.out.println("吃鱼");
    }
    public void catchMouse(){
        System.out.println("抓老鼠");
    }
    public String getInfo(){
        return super.getInfo();
    }
}
